﻿<%@ Page Title="" Language="C#" MasterPageFile="~/AdminCP/admincp.Master" AutoEventWireup="true"
    CodeBehind="Album.aspx.cs" Inherits="VINETLIFE.AdminCP.Album" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <h2>
        Cập nhật Album</h2>
    <table width="100%" class="tablet">
        <tr>
            <td style="width: 200px;">
                Tiêu đề:
            </td>
            <td class="style9">
                <asp:TextBox ID="txtTitle" runat="server" Width="279px" ValidationGroup="submitGrp"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtTitle"
                    ErrorMessage="*** Cần nhập tiêu đề" ValidationGroup="submitGrp"></asp:RequiredFieldValidator>
                &nbsp; &nbsp;
            </td>
        </tr>
        <tr>
            <td>
                Ảnh đại diện
            </td>
            <td>
                <asp:FileUpload ID="fuImage1" runat="server" />
                <asp:HyperLink ID="hplImage" CssClass="fancyboxx" runat="server" Target="_blank">[Xem 
            ảnh]</asp:HyperLink>
            </td>
        </tr>
        <tr>
            <td>
                Phân loại
            </td>
            <td>
                <asp:RadioButton runat="server" ID="rdAlbum" Checked="true" GroupName="x" />
                Ảnh
                <asp:RadioButton runat="server" ID="rdVideo" GroupName="x" />
                Video
            </td>
        </tr>
        <tr>
            <td class="style8">
                Mô tả:
            </td>
            <td>
                <asp:TextBox ID="txtDesc" TextMode="MultiLine" Height="50px" Width="279px" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                Số thứ tự
            </td>
            <td>
                <asp:TextBox ID="txtOrderID" runat="server" Width="68px" Text="0" ValidationGroup="submitGrp"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtOrderID"
                    ErrorMessage="*** Cần nhập số thứ tự" ValidationGroup="submitGrp"></asp:RequiredFieldValidator>
                <asp:RangeValidator ID="RangeValidator1" runat="server" ErrorMessage="Nhập số(Giá trị từ 0~1000)"
                    ForeColor="Red" ControlToValidate="txtOrderID" Type="Integer" MinimumValue="0"
                    MaximumValue="1000"></asp:RangeValidator>
            </td>
        </tr>
        <tr>
            <td class="style8">
                &nbsp;
            </td>
            <td class="style4">
                <asp:Button ID="btnSave" runat="server" Text="Lưu" OnClick="btnSave_Click" CssClass="shiny-blue"
                    ValidationGroup="submitGrp" />
                <asp:Button ID="btnReset" runat="server" Text="Hủy" OnClick="btnReset_Click" CssClass="shiny-blue" />
            </td>
        </tr>
    </table>
</asp:Content>
